﻿using DAL;
using Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class B_config
    {
        DAL.D_config d_config = new DAL.D_config();

        public List<Sys_config> list_config()
        {
            return d_config.list_config();
        }

        public bool add_config(List<Sys_config> list)
        {
            int res = d_config.add_list(list);
            return res==list.Count? true: false;
        }

        public bool Del(List<Sys_config> list)
        {
            return d_config.Del(list);

        }

        public bool save_List(List<Sys_config> sys_Configs)
        {
            return d_config.save_List(sys_Configs);
        }

    }
}
